﻿<UserControl x:Name="_root"
	x:Class="WPFCABShell.$safeprojectname$.Options.OptionsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid DataContext="{Binding ElementName=_root}">
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
			<RowDefinition Height="Auto"/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="1*"/>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="3*"/>
		</Grid.ColumnDefinitions>
		
		<TreeView x:Name="_optionsSiteTreeView" SelectedItemChanged="_optionsSiteTreeView_SelectedItemChanged"/>
		<GridSplitter Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Stretch"/>
		<ContentControl Grid.Column="2" Content="{Binding Presenter.CurrentPane}"/>

		<StackPanel Grid.Row="1" Grid.ColumnSpan="3" Orientation="Horizontal" HorizontalAlignment="Right">
			<Button IsDefault="True" Click="okButton_Click">_OK</Button>
			<Button IsCancel="True">_Cancel</Button>
		</StackPanel>
	</Grid>
</UserControl>
